package com.zk.atm.service;

import com.zk.atm.forms.AtmpDeviceStatusForm;

public interface IAtmpDeviceStatusService {

	/**
	 * @author zengqun
	 * @remark 向数据库中源状态表：写入状态值。
	 * @date 2012-9-24
	 * @version 1.0
	 * @param statusForm
	 * @throws Exception
	 */
	public static final String 	ATMP_DEVICE_STATUS_ORIGINAL_SQL_INSERT="insert into atmp_device_status_original " +
			" (device_status_original_id,p_device_status_original_id,device_column_key,device_column_value,time_mark )" +
			"  values(?,?,?,?,?);";
	        //"  values(2,'','DeviceIp','192.168.0.188',to_date('2012-9-24','yyyy-MM-dd'));";
	/**
	 * @author zengqun
	 * @remark 向数据库中源状态表：写入状态值。
	 *         历史状态表：写入状态值
	 *         当前状态表：更新状态值
	 * @date 2012-9-24
	 * @version 1.0
	 * @param statusForm
	 * @throws Exception
	 */
	public boolean saveDevcieStatus(AtmpDeviceStatusForm statusForm) throws Exception;

}
